package com.qf.blog.service.impl;

import com.qf.blog.core.dao.IBaseDao;
import com.qf.blog.core.service.BaseServiceImpl;
import com.qf.blog.dao.IInvitataionDao;
import com.qf.blog.dao.impl.IInvitataionDaoImpl;
import com.qf.blog.entity.InvitataionEntity;
import com.qf.blog.service.IInvitataionService;
import com.qf.blog.vo.IndexDataVo;

import java.util.List;

public class InvitataionServiceImpl extends BaseServiceImpl<InvitataionEntity> implements IInvitataionService {

    private IInvitataionDao invitataionDao = new IInvitataionDaoImpl();

    @Override
    protected IBaseDao<InvitataionEntity> getBaseDao() {
        return invitataionDao;
    }

    @Override
    public List<IndexDataVo> indexDataList()  throws Exception {
        return invitataionDao.indexDataList();
    }
}
